﻿using Mimas.Framework.Server.AdminManagement;
using Mimas.Framework.Shared.Data.CriteriaObjects;
using Mimas.Framework.Shared.Data.DataTransferObjects;

namespace Mimas.Framework.Shared.Services.AdminManagementServices
{
    public class ConstantManager : IConstantManager
    {
        public LookupListDTO[] SearchLookupLists(LookupListCO criteria)
        {
            return ConstantManagementBL.SearchLookupLists(criteria);
        }

        public CountryDTO[] SearchCountries(CountryCO criteria)
        {
            return ConstantManagementBL.SearchCountries(criteria);
        }

        public TownDTO[] SearchTowns(TownCO criteria)
        {
            return ConstantManagementBL.SearchTowns(criteria);
        }

        public MenuItemDTO[] SearchMenus(MenuItemCO criteria)
        {
            return ConstantManagementBL.SearchMenus(criteria);
        }

        public AccessDTO[] SearchAccessLists(AccessListCO criteria)
        {
            return ConstantManagementBL.SearchAccessLists(criteria);
        }
    }
}
